package com.shimao.celnet.payment.model;

import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "b_city")
public class BCity  extends BaseModel implements Serializable {

    /**
     * sf城市guid
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "sf_guid")
    private String sfGuid;

    /**
     * 城市名
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "city_name")
    private String cityName;



    /**
     * 获取sf城市guid
     *
     * @return sf_guid - sf城市guid
     */
    public String getSfGuid() {
        return sfGuid;
    }

    /**
     * 设置sf城市guid
     *
     * @param sfGuid sf城市guid
     */
    public void setSfGuid(String sfGuid) {
        this.sfGuid = sfGuid;
    }

    /**
     * 获取城市名
     *
     * @return city_name - 城市名
     */
    public String getCityName() {
        return cityName;
    }

    /**
     * 设置城市名
     *
     * @param cityName 城市名
     */
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
}